package com.tjetc.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Close {
    /**
     * 停诊id
     */
    private Integer id;

    /**
     * 排班id
     */
    private Integer scheduleId;

    /**
     * 停诊原因
     */
    private String desc;

    /**
     * 停诊时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;

    /**
     * 是否同意,1同意0不同意
     */
    private Integer isAgree;

    /**
     * 医院id
     */
    private Integer hid;

    /**
     * 批准管理员id
     */
    private Integer adminId;

    private Scheduling scheduling;

    private Hospital hospital;

    private Admin admin;
}